package mycompany;

import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.link.BookmarkablePageLink;
import org.apache.wicket.markup.html.link.PopupSettings;

public class PopupLinkPage extends WebPage {
    public PopupLinkPage() {
        super();

        BookmarkablePageLink popupLink = new BookmarkablePageLink("popupLink", PopupLinkPage.class);

        PopupSettings popupSettings = new PopupSettings();
        popupSettings.setHeight(400);
        popupSettings.setWidth(400);
        popupLink.setPopupSettings(popupSettings);
        this.add(popupLink);
    }
}
